﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class SUB:Calculate
    {
        public SUB(int a, int b) : base(a,b) 
        { 
        
        }
        public override void DisplayResult()
        {
            int SUB = 0;
            SUB = A - B;
            Console.WriteLine("减为："+SUB);
         }
    }
}
